package com.example.night.data.SellingGood;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

// 商品实体类
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class SellingGood {
    @JsonProperty("product_id")
    private String productId;

    @JsonProperty("product_name")
    private String productName;

    @JsonProperty("product_img")
    private String productImg;

    @JsonProperty("all_order_total")
    private int allOrderTotal;

    @JsonProperty("all_total_pay_amount")
    private double allTotalPayAmount;

    @JsonProperty("talent_nums")
    private int talentNums;

    @JsonProperty("f_institution_nums")
    private int fInstitutionNums;

    @JsonProperty("ranking")
    private int ranking;

}
